#region History

/* -------------------------------------------------------------------------------- 
 * Project Name: JobBoard Enterprise
 * Module: Jb.Web 
 * Name: JobSeeker.cs
 * Purpose: ViewModel class for Job Seeker
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  05/20/2013
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;


namespace Jb.Web.ViewModels
{
    [Serializable]
	public class JobSeekerViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}
            
        [Required(ErrorMessage= "Please Enter a Name")]
        [StringLength(150, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Name")] 
		public String Name	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Gender")]
        [StringLength(1, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Gender")] 
		public String Gender	{ get; set; }
            
        [Required(ErrorMessage= "Please Enter a Date Of Birth")]
        [Display(Name = "Date Of Birth")] 
		public String DateOfBirth	{ get; set; }

        [Required(ErrorMessage = "Please Select an Address")]
        [Display(Name = "Address")]
        public int AddressID { get; set; }

        [Required(ErrorMessage= "Please Select a Address")] 
        [Display(Name = "Address")] 
        public AddressViewModel Address { get; set;}
            
        [StringLength(150, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Photo File")] 
		public String PhotoFile	{ get; set; }
            
        //[Required(ErrorMessage= "Please Choose Is Active?")]         
        [Display(Name = "Is Active")] 
		public String IsActive	{ get; set; }
            
        //[Required(ErrorMessage= "Please Choose Is Deleted?")]         
        [Display(Name = "Is Deleted")] 
		public String IsDeleted	{ get; set; }
            
        //[Required(ErrorMessage= "Please Choose Has Profile Completed?")]         
        [Display(Name = "Has Profile Completed")] 
		public String HasProfileCompleted	{ get; set; }
            
        //[Display(Name = "Modified By")] 
		public String ModifiedBy	{ get; set; }
            
        //[Required(ErrorMessage= "Please Enter a Modified On")]
        [Display(Name = "Modified On")] 
		public String ModifiedOn	{ get; set; }
            
        //[Required(ErrorMessage= "Please Enter a Created On")]
        [Display(Name = "Created On")] 
		public String CreatedOn	{ get; set; }

        #region Properties Used in Image Cropping

        public int Width { get; set; }

        public int Height { get; set; }

        public String CropProperty { get; set; }

        public String OriginalFileName { get; set; }

        #endregion
    }
}

